﻿using System;
namespace DataLib.Model
{
    /// <summary>
    /// BarCode:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class BarCode
    {
        public BarCode()
        { }
        #region Model
        private int? _id;
        private int? _loadnumid;
        private int? _cjoid;
        private int? _parmentid;
        private string _loadnumv;
        private string _barcodevalue;
        private string _goodscode;
        private string _goodsname;
        private string _remark;
        private int? _storagetype;
        private int? _storageid;
        private int? _status;
        private decimal? _gwt;
        private decimal? _tare1;
        private decimal? _tare2;
        private decimal? _nwt;
        private int? _qty;
        private string _comeunder;
        private string _packageno;
        private bool _islocak;
        private int? _instrorageid;
        private int? _outstrorageid;
        private string _storagearea;
        private string _attribute;
        private string _stroageno;
        private string _rubbishcode;
        private string _rubbishtype;
        private string _sealno;
        private string _rdh;
        private int? _plateid;
        private string _plateno;
        private int? _boxcount;
        private DateTime? _createdate = DateTime.Now;
        private int? _isdel_out = 0;
        private string _barbelong;
        private string _bargraphic;
        private int _goodsid;
        //新增
        private string _clearmonth;
        private string _stype;
        private DateTime? _outdate;
        private string _insno;
        private string _outsno;
        private string _cumname;
        private string _cumcode;
        private string _projectcode;
        private string _projectname;
        private string _cumshortname;
        private string _busscode;

        /// <summary>
        /// 
        /// </summary>
        public int? id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 来源于哪个LoadNum
        /// </summary>
        public int? loadnumid
        {
            set { _loadnumid = value; }
            get { return _loadnumid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? cjoid
        {
            set { _cjoid = value; }
            get { return _cjoid; }
        }
        /// <summary>
        /// BarCode来源
        /// </summary>
        public int? ParmentID
        {
            set { _parmentid = value; }
            get { return _parmentid; }
        }
        /// <summary>
        /// 虚拟loadnum号
        /// </summary>
        public string loadnumv
        {
            set { _loadnumv = value; }
            get { return _loadnumv; }
        }
        /// <summary>
        /// 条码号
        /// </summary>
        public string barcodevalue
        {
            set { _barcodevalue = value; }
            get { return _barcodevalue; }
        }
        /// <summary>
        /// 物品编码
        /// </summary>
        public string goodscode
        {
            set { _goodscode = value; }
            get { return _goodscode; }
        }
        /// <summary>
        /// 物品名称
        /// </summary>
        public string goodsname
        {
            set { _goodsname = value; }
            get { return _goodsname; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string remark
        {
            set { _remark = value; }
            get { return _remark; }
        }
        /// <summary>
        /// 0 代表临时库  1代表半成品库 2代表成品库 3代表原料库
        /// </summary>
        public int? storagetype
        {
            set { _storagetype = value; }
            get { return _storagetype; }
        }
        /// <summary>
        /// 库位
        /// </summary>
        public int? storageid
        {
            set { _storageid = value; }
            get { return _storageid; }
        }
        /// <summary>
        /// 状态（1 进 2出）
        /// </summary>
        public int? status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 毛重
        /// </summary>
        public decimal? gwt
        {
            set { _gwt = value; }
            get { return _gwt; }
        }
        /// <summary>
        /// 皮重1
        /// </summary>
        public decimal? tare1
        {
            set { _tare1 = value; }
            get { return _tare1; }
        }
        /// <summary>
        /// 皮重2
        /// </summary>
        public decimal? tare2
        {
            set { _tare2 = value; }
            get { return _tare2; }
        }
        /// <summary>
        /// 净重
        /// </summary>
        public decimal? nwt
        {
            set { _nwt = value; }
            get { return _nwt; }
        }
        /// <summary>
        /// 数量
        /// </summary>
        public int? qty
        {
            set { _qty = value; }
            get { return _qty; }
        }
        /// <summary>
        /// 归类
        /// </summary>
        public string comeunder
        {
            set { _comeunder = value; }
            get { return _comeunder; }
        }
        /// <summary>
        /// 箱号
        /// </summary>
        public string packageno
        {
            set { _packageno = value; }
            get { return _packageno; }
        }
        /// <summary>
        /// 锁定
        /// </summary>
        public bool isLocak
        {
            set { _islocak = value; }
            get { return _islocak; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? InStrorageID
        {
            set { _instrorageid = value; }
            get { return _instrorageid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? OutStrorageID
        {
            set { _outstrorageid = value; }
            get { return _outstrorageid; }
        }
        /// <summary>
        /// 仓库归属
        /// </summary>
        public string StorageArea
        {
            set { _storagearea = value; }
            get { return _storagearea; }
        }
        /// <summary>
        /// 物品属性
        /// </summary>
        public string Attribute
        {
            set { _attribute = value; }
            get { return _attribute; }
        }
        /// <summary>
        /// 库位编号
        /// </summary>
        public string stroageNo
        {
            set { _stroageno = value; }
            get { return _stroageno; }
        }
        /// <summary>
        /// 废物编码
        /// </summary>
        public string rubbishcode
        {
            set { _rubbishcode = value; }
            get { return _rubbishcode; }
        }
        /// <summary>
        /// 废物描述
        /// </summary>
        public string rubbishtype
        {
            set { _rubbishtype = value; }
            get { return _rubbishtype; }
        }
        /// <summary>
        /// 封单号
        /// </summary>
        public string sealno
        {
            set { _sealno = value; }
            get { return _sealno; }
        }
        /// <summary>
        /// 联单号
        /// </summary>
        public string rdh
        {
            set { _rdh = value; }
            get { return _rdh; }
        }
        /// <summary>
        /// 车牌ID
        /// </summary>
        public int? plateid
        {
            set { _plateid = value; }
            get { return _plateid; }
        }
        /// <summary>
        /// 车牌编号
        /// </summary>
        public string plateno
        {
            set { _plateno = value; }
            get { return _plateno; }
        }
        /// <summary>
        /// 箱数
        /// </summary>
        public int? boxcount
        {
            set { _boxcount = value; }
            get { return _boxcount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? createdate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        /// <summary>
        /// 出库删除标示
        /// </summary>
        public int? isdel_out
        {
            set { _isdel_out = value; }
            get { return _isdel_out; }
        }

        /// <summary>
        /// 物品归属地
        /// </summary>
        public string barbelong
        {
            set { _barbelong = value; }
            get { return _barbelong; }
        }

        /// <summary>
        /// 物品处理地
        /// </summary>
        public string bargraphic
        {
            set { _bargraphic = value; }
            get { return _bargraphic; }
        }

        /// <summary>
        /// 物品ID
        /// </summary>
        public int goodsid
        {
            set { _goodsid = value; }
            get { return _goodsid; }
        }

        public string clearmonth
        {
            set { _clearmonth = value; }
            get { return _clearmonth; }
        }

        public string stype
        {
            set { _stype = value; }
            get { return _stype; }
        }

        public string insno
        {
            set { _insno = value; }
            get { return _insno; }
        }


        public string outsno
        {
            set { _outsno = value; }
            get { return _outsno; }
        }

        public string cumname
        {
            set { _cumname = value; }
            get { return _cumname; }
        }

        public string cumcode
        {
            set { _cumcode = value; }
            get { return _cumcode; }
        }

        public string projectcode
        {
            set { _projectcode = value; }
            get { return _projectcode; }
        }

        public string projectname
        {
            set { _projectname = value; }
            get { return _projectname; }
        }

        public string cumshortname
        {
            set { _cumshortname = value; }
            get { return _cumshortname; }
        }

        public string busscode
        {
            set { _busscode = value; }
            get { return _busscode; }
        }

        public DateTime? outdate
        {
            set { _outdate = value; }
            get { return _outdate; }
        }

        #endregion Model

    }
}

